package com.serverThread;

import top.appx.espring.annotation.ServerThread;

/**
 * Created by john on 2016/8/15.
 */
@ServerThread("测试服务线程")
public class TestServerThread implements Runnable {
    public void run() {
        for(int i=0;i<5;i++){
            System.out.println("this is testServer Thread:"+i);
            try {
                Thread.sleep(5000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
